Skip to main content

All Questions

0votes
3answers
4kviews

How to extract the XML from a log entry?

We are logging XML messages to a downstream system in our logs. I am trying to use sed to extract the XML from the log entry, but not sure exactly how to use it. This is a typical log entry: 2018-...
RockmanJoe's user avatar
3votes
4answers
1kviews

Shell script or command to Strip text and Binary files excerpts from large Log Files

I need to remove a large binary file (PDF file) from a large log file which is generated daily.This is seriously hogging space on our servers.I need to remove the large PDF from the logs to make the ...
Doknik's user avatar

close